package com.baizhi.cmfz.dao;

import com.baizhi.cmfz.entiy.Guru;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GuruDao {


    //获取总条数
    int getTotal(@Param("guruName")String guruName);

    //获取当前页数据
    List<Guru> getGuruByPage(@Param("start")int start, @Param("pageSize")int pageSize, @Param("guruName")String guruName);
    Guru selectOne(String guruName);
    void insert (Guru guru);
    void update (Guru guru);
    void multiDelete(int [] ids);

    List<Guru> selectAll();

}
